 <div class="row">
                <div class="col-lg-12">
                    <h3 class="page-header">专家等级管理</h3>
                </div>
                <!-- /.col-lg-12 -->
            </div>
            <!-- /.row -->
            <div class="row">
                <div class="col-lg-12">
                    <div class="panel panel-default">
                        <div class="panel-heading">
                            <button type="button" class="btn btn-success btn-xs" onclick="editurl('__APP__/Level/add');">添加新的专家等级</button>
                        </div>
                        <!-- /.panel-heading -->
                        <div class="panel-body">
                            <div class="dataTable_wrapper">
                                <table class="table table-striped table-bordered table-hover">
                                    <thead>
                                        <tr>
                                            <th><center>名称</center></th>
                                            <th><center>单份病例价格</center></th>
                                            <th><center>订阅价格</center></th>
                                            <th><center>邀请评论价格</center></th>
                                            <th><center>操作</center></th>
                                        </tr>
                                    </thead>
                                    <tbody>
                                        <volist name="level" id="vo">
                                        <tr class="odd gradeX">
                                            <td><center>{$vo.level}</center></td>
                                            <td style="vertical-align: middle;"><center>{$vo['recordprice']}</center></td>
                                            <td style="vertical-align: middle;"><center>{$vo['subprice']}</center></td>
                                            <td class="center" style="vertical-align: middle;"><center>{$vo['discussprice']}</center></td>
                                            <td class="center" style="vertical-align: middle;">
                                                <center>
                                                    <button type="button" class="btn btn-primary btn-xs" onclick="editurl('__APP__/Level/edit/id/{$vo.id}');">
                                                        <i class="fa fa-list"></i>
                                                    </button>
                                                </center>
                                            </td>
                                        </tr>
                                        </volist>
                                    </tbody>
                                </table>
                            </div>
                            <!-- /.table-responsive -->
                        </div>
                        <!-- /.panel-body -->
                    </div>
                    <!-- /.panel -->
                </div>
                <!-- /.col-lg-12 -->
            </div>
            <!-- /.row -->
            {$page}
        </div>

    <!-- Page-Level Demo Scripts - Tables - Use for reference -->
    <script>
    function toplist(id){
        $.post('__APP__/Book/top',{id:id},function(data){
            if(data.status==1){
                alert('操作成功');
                gourl('__APP__/Book');
            }else{
                alert('操作失败');
                gourl('__APP__/Book');
            }
        });        
    }
     function downlist(id){
        $.post('__APP__/Book/down',{id:id},function(data){
            if(data.status==1){
                alert('操作成功');
                gourl('__APP__/Book');
            }else{
                alert('操作失败');
                gourl('__APP__/Book/');
            }
        });        
    }   
    function del(id){
        if(confirm('是否要删除?')){
            $.post('__APP__/Book/del',{id:id},function(data){
                if(data.status==1){
                    alert('操作成功');
                    gourl('__APP__/Book');
                }else{
                    alert('操作失败');
                    gourl('__APP__/Book');
                }
            });
        }else{
            return;
        }
    }
    </script>

</body>

</html>
